package service;

import dao.ExchangeInfoMapper;

import java.sql.SQLException;

/**
 * @author 李夏
 * @version 1.0
 */
public class ExchangeInfoService {
    //宿管获取某楼栋所有换房申请总数
    public static Integer getExchangeOneBuild(Integer buildId) throws SQLException {
        return ExchangeInfoMapper.getExchangeOneBuild(buildId);
    }

    public static Integer queryExchangeAllCount(Integer buildId) throws SQLException {
        return ExchangeInfoMapper.queryExchangeAllCount(buildId);

    }
}
